package com.leetao.dingtalk.core.service;

import com.leetao.dingtalk.core.domain.Token;
import com.leetao.dingtalk.core.domain.rest.Rest;
import com.taobao.api.ApiException;

/**
 * 钉钉验证服务
 * @author 菅江晖
 * @date 2021/5/24 - 10:38
 */
public interface DingTalkAuthService {

    /**
     * 获取token
     * @return Rest<token>
     */
    Rest<Token> getToken() throws ApiException;

}
